package com.yq.light.user.code;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableEurekaClient
//@ComponentScan(basePackages={"com.yq.light.user.code.dao"})
@MapperScan("com.yq.light.user.code.dao")
public class CodeApplication {

    public static void main(String[] args){
        SpringApplication.run(CodeApplication.class,args);
    }
}
